home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / T / TransSkel 3.11.sit / TransSkel v 3.11 / Convenience / Control Stuff / SkelEraseButtonOutline.c < prev    next >
MacBinary  |  1994-02-20  |  1.6 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Feb 20 18:31:25 1994, modified Sun Feb 20 18:31:25 1994, creator Think C, type ASCII, 759 bytes "SkelEraseButtonOutline.c" , at 0x377 738 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dexmagic Picasso 64 Image default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 53 6b 65 6c 45 72 | 61 73 65 42 75 74 74 6f |..SkelEr|aseButto|
|00000010| 6e 4f 75 74 6c 69 6e 65 | 2e 63 00 00 00 00 00 00 |nOutline|.c......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 02 f7 00 | 00 02 e2 a9 8d a3 4d a9 |........|......M.|
|00000060| 8d a3 4d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..M.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 27 ce 00 00 |........|....'...|
|00000080| 2f 2a 0d 20 2a 20 45 72 | 61 73 65 20 74 68 65 20 |/*. * Er|ase the |
|00000090| 68 65 61 76 79 20 6f 75 | 74 6c 69 6e 65 20 61 72 |heavy ou|tline ar|
|000000a0| 6f 75 6e 64 20 61 20 70 | 75 73 68 20 62 75 74 74 |ound a p|ush butt|
|000000b0| 6f 6e 2e 20 20 54 68 69 | 73 20 73 69 6d 70 6c 79 |on. Thi|s simply|
|000000c0| 20 64 72 61 77 73 0d 20 | 2a 20 74 68 65 20 6f 75 | draws. |* the ou|
|000000d0| 74 6c 69 6e 65 20 69 6e | 20 77 68 69 74 65 2e 20 |tline in| white. |
|000000e0| 20 41 70 70 61 72 65 6e | 74 6c 79 20 74 68 69 73 | Apparen|tly this|
|000000f0| 20 77 6f 72 6b 73 20 63 | 6f 72 72 65 63 74 6c 79 | works c|orrectly|
|00000100| 20 65 76 65 6e 20 77 68 | 65 6e 0d 20 2a 20 74 68 | even wh|en. * th|
|00000110| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 69 73 20 |e backgr|ound is |
|00000120| 61 20 64 69 66 66 65 72 | 65 6e 74 20 63 6f 6c 6f |a differ|ent colo|
|00000130| 72 2e 20 20 4d 61 79 62 | 65 20 22 77 68 69 74 65 |r. Mayb|e "white|
|00000140| 20 70 65 6e 22 20 72 65 | 61 6c 6c 79 0d 20 2a 20 | pen" re|ally. * |
|00000150| 6d 65 61 6e 73 20 22 62 | 61 63 6b 67 72 6f 75 6e |means "b|ackgroun|
|00000160| 64 20 63 6f 6c 6f 72 20 | 70 65 6e 22 3f 0d 20 2a |d color |pen"?. *|
|00000170| 2f 0d 0d 23 20 69 6e 63 | 6c 75 64 65 09 22 54 72 |/..# inc|lude."Tr|
|00000180| 61 6e 73 53 6b 65 6c 2e | 68 22 0d 0d 0d 23 20 64 |ansSkel.|h"...# d|
|00000190| 65 66 69 6e 65 09 6e 6f | 72 6d 61 6c 48 69 6c 69 |efine.no|rmalHili|
|000001a0| 74 65 09 30 0d 23 20 64 | 65 66 69 6e 65 09 64 69 |te.0.# d|efine.di|
|000001b0| 6d 48 69 6c 69 74 65 09 | 09 32 35 35 0d 0d 0d 70 |mHilite.|.255...p|
|000001c0| 61 73 63 61 6c 20 76 6f | 69 64 0d 53 6b 65 6c 45 |ascal vo|id.SkelE|
|000001d0| 72 61 73 65 42 75 74 74 | 6f 6e 4f 75 74 6c 69 6e |raseButt|onOutlin|
|000001e0| 65 20 28 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |e (Contr|olHandle|
|000001f0| 20 63 74 72 6c 29 0d 7b | 0d 47 72 61 66 50 74 72 | ctrl).{|.GrafPtr|
|00000200| 09 09 6f 6c 64 50 6f 72 | 74 3b 0d 50 65 6e 53 74 |..oldPor|t;.PenSt|
|00000210| 61 74 65 09 70 65 6e 53 | 74 61 74 65 3b 0d 52 65 |ate.penS|tate;.Re|
|00000220| 63 74 09 09 72 2c 20 72 | 32 3b 0d 73 68 6f 72 74 |ct..r, r|2;.short|
|00000230| 09 09 63 75 72 76 61 74 | 75 72 65 3b 0d 0d 09 47 |..curvat|ure;...G|
|00000240| 65 74 50 6f 72 74 20 28 | 26 6f 6c 64 50 6f 72 74 |etPort (|&oldPort|
|00000250| 29 3b 0d 09 53 65 74 50 | 6f 72 74 20 28 28 2a 2a |);..SetP|ort ((**|
|00000260| 63 74 72 6c 29 2e 63 6f | 6e 74 72 6c 4f 77 6e 65 |ctrl).co|ntrlOwne|
|00000270| 72 29 3b 0d 09 72 20 3d | 20 28 2a 2a 63 74 72 6c |r);..r =| (**ctrl|
|00000280| 29 2e 63 6f 6e 74 72 6c | 52 65 63 74 3b 0d 09 49 |).contrl|Rect;..I|
|00000290| 6e 73 65 74 52 65 63 74 | 20 28 26 72 2c 20 2d 34 |nsetRect| (&r, -4|
|000002a0| 2c 20 2d 34 29 3b 0d 09 | 63 75 72 76 61 74 75 72 |, -4);..|curvatur|
|000002b0| 65 20 3d 20 28 72 2e 62 | 6f 74 74 6f 6d 20 2d 20 |e = (r.b|ottom - |
|000002c0| 72 2e 74 6f 70 29 20 2f | 20 32 20 2b 20 32 3b 0d |r.top) /| 2 + 2;.|
|000002d0| 09 47 65 74 50 65 6e 53 | 74 61 74 65 20 28 26 70 |.GetPenS|tate (&p|
|000002e0| 65 6e 53 74 61 74 65 29 | 3b 0d 09 50 65 6e 4e 6f |enState)|;..PenNo|
|000002f0| 72 6d 61 6c 20 28 29 3b | 0d 09 50 65 6e 50 61 74 |rmal ();|..PenPat|
|00000300| 20 28 77 68 69 74 65 29 | 3b 0d 09 50 65 6e 53 69 | (white)|;..PenSi|
|00000310| 7a 65 20 28 33 2c 20 33 | 29 3b 0d 09 46 72 61 6d |ze (3, 3|);..Fram|
|00000320| 65 52 6f 75 6e 64 52 65 | 63 74 20 28 26 72 2c 20 |eRoundRe|ct (&r, |
|00000330| 63 75 72 76 61 74 75 72 | 65 2c 20 63 75 72 76 61 |curvatur|e, curva|
|00000340| 74 75 72 65 29 3b 0d 09 | 53 65 74 50 65 6e 53 74 |ture);..|SetPenSt|
|00000350| 61 74 65 20 28 26 70 65 | 6e 53 74 61 74 65 29 3b |ate (&pe|nState);|
|00000360| 0d 09 53 65 74 50 6f 72 | 74 20 28 6f 6c 64 50 6f |..SetPor|t (oldPo|
|00000370| 72 74 29 3b 0d 7d 0d 00 | 00 00 00 00 00 00 00 00 |rt);.}..|........|
|00000380| 00 00 01 00 00 00 02 88 | 00 00 01 88 00 00 00 5a |........|.......Z|
|00000390| 00 00 a3 f3 00 53 03 00 | 00 00 00 00 00 00 00 00 |.....S..|........|
|000003a0| 00 00 a3 e8 06 53 6f 75 | 72 63 65 00 00 00 00 00 |.....Sou|rce.....|
|000003b0| 18 53 6b 65 6c 45 72 61 | 73 65 42 75 74 74 6f 6e |.SkelEra|seButton|
|000003c0| 4f 75 74 6c 69 6e 65 2e | 63 75 02 00 00 00 50 61 |Outline.|cu....Pa|
|000003d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a9 9f 75 8f 00 00 | 00 00 00 00 02 e2 7a 68 |....u...|......zh|
|00000400| a8 a4 22 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |.."a....|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 22 75 00 02 00 00 |........|.."u....|
|00000420| 00 00 00 00 00 00 22 77 | 00 01 00 00 00 00 00 00 |......"w|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 08 00 39 00 0c | 01 5b 02 37 00 00 01 52 |.....9..|.[.7...R|
|00000490| 00 28 00 1e 02 21 01 3c | 00 18 00 00 01 4a 00 00 |.(...!.<|.....J..|
|000004a0| 01 4a 00 00 00 00 00 04 | 00 09 00 00 06 4d 6f 6e |.J......|.....Mon|
|000004b0| 61 63 6f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |aco.....|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 04 00 00 04 |........|........|
|000004f0| 00 00 00 48 00 48 00 00 | 00 00 02 db 02 40 ff e7 |...H.H..|.....@..|
|00000500| ff ee 02 ff 02 52 1f 03 | 05 28 03 fc 00 01 00 00 |.....R..|.(......|
|00000510| 01 2c 01 2c 00 00 00 00 | 0b e7 09 60 01 2c 00 2d |.,.,....|...`.,.-|
|00000520| 05 a0 5e ec 00 26 04 01 | 01 01 00 18 00 01 27 0f |..^..&..|......'.|
|00000530| 00 01 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00000560| 00 02 41 00 00 00 00 04 | 00 09 00 00 06 4d 6f 6e |..A.....|.....Mon|
|00000570| 61 63 6f 08 00 00 00 00 | 00 00 00 00 00 00 00 00 |aco.....|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 01 00 |........|........|
|000005b0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 22 00 01 | 00 00 01 4a 00 00 01 60 |....."..|...J...`|
|000005f0| 17 53 6b 65 6c 45 72 61 | 73 65 42 75 74 74 6f 6e |.SkelEra|seButton|
|00000600| 4f 75 74 6c 69 6e 65 00 | 00 00 01 00 00 00 02 88 |Outline.|........|
|00000610| 00 00 01 88 00 00 00 5a | 00 3b 9c 74 11 a2 00 00 |.......Z|.;.t....|
|00000620| 00 1c 00 5a 00 02 52 45 | 43 54 00 00 00 1a 42 42 |...Z..RE|CT....BB|
|00000630| 53 52 00 00 00 26 4d 50 | 53 52 00 00 00 32 00 00 |SR...&MP|SR...2..|
|00000640| ff ff 00 00 00 00 00 00 | 00 00 01 03 ff ff 00 00 |........|........|
|00000650| 00 0c 00 00 00 00 03 ef | ff ff 00 00 01 62 00 00 |........|.....b..|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+